package cn.vcjf.washcar.common.wxpay.sdk;

import cn.vcjf.washcar.common.util.SysParamUtil;

import java.io.InputStream;

/**
 * @Auther: zhengzihang
 * @Date: 2018/7/11 16:14
 * @Description:
 */
public class WXPayConfigImpl extends WXPayConfig {

	/**
	微信支付商户号 1509065421
	商户平台登录帐号 1509065421@1509065421
	申请对应的公众号 天下汇钱包（tianxiahuiqb）
	公众号APPID wxf016478ca445d71d
	*/
	public static String APP_ID = SysParamUtil.getParam("vc.wechat.appid");
	public static String APPSECRET = SysParamUtil.getParam("vc.wechat.appsecret");
	public static String MERCH_ID=SysParamUtil.getParam("vc.wechat.merchid");
	public static String KEY=SysParamUtil.getParam("vc.wechat.key");

//	public static String APP_ID = "wxf016478ca445d71d";
//	public static String KEY = "atrQKRYwAzKOVqA70zcZpVL5oK0eFs8N";
//	public static String MERCH_ID = "1509065421";

	@Override
	public String getAppID() {
		return APP_ID;
	}

	@Override
	public String getMchID() {
		return MERCH_ID;
	}

	@Override
	public String getKey() {
		return KEY;
	}

	@Override
	public InputStream getCertStream() {
		return null;
	}

	@Override
	public IWXPayDomain getWXPayDomain() {
		return new IWXPayDomainImpl();
	}

}
